// 自定义颜色属性
:root {
  --border-style: 2px solid #02a6b5;
}
// css初始化
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

// 设置大背景
body {
  background: url(../images/bg.jpg) no-repeat top center;
  line-height: 1.15;
}

// 声明字体
@font-face {
  font-family: electronicFont;
  src: url(../font/DS-DIGIT.TTF);
}

li {
  list-style: none;
}

// 公共样式
.active {
  color: #fff !important;
}

// 头部盒子
header {
  position: relative;
  height: 1.25rem;
  background: url(../images/head_bg.png) no-repeat;
  background-size: 100%, 100%;

    > h1 {
      color: #fff;
      font-size: .475rem;
      text-align: center;
      line-height: 1rem;
    }

    // 时间
    #showTime {
      position: absolute;
      right: .375rem;
      top: 0;
      line-height: .9375rem;
      color: rgba(255, 255, 255, 0.7);
      font-size: .25rem;
    }
}

// 主体盒子
.mainBox {
  display: flex;
  min-width: 1024px;
  max-width: 1920px;
  // 水平居中
  margin: 0 auto;
  padding: .125rem .125rem 0;

  .column {
    flex: 3;

    &:nth-child(2) {
      flex: 5
    }

    // 左
    .panel {
      position: relative; 
      height: 3.875rem;
      margin: 0 0 .1875rem;
      padding: 0 .1875rem .5rem;
      border: 1px solid rgba(25, 186, 139, 0.17);
      background: url(../images/line\(1\).png) no-repeat rgba(255, 255, 255, 0.03);
      text-align: center;

      h2 {
        margin-top: .125rem;

        a {
          color: #4c9bfd;
          margin: 0 0 0 .125rem;
          text-decoration: none;
        }
      }

      &::before,
      &::after,
      .panel-footer::before,
      .panel-footer::after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
      }

      &::before {
        top: 0;
        left: 0;
        border-left: var(--border-style);
        border-top: var(--border-style);
      }

      &::after {
        top: 0;
        right: 0;
        border-right: var(--border-style);
        border-top: var(--border-style);
      }
      
      // 底部小盒子
      .panel-footer {
        &::before {
          bottom: 0;
          left: 0;
          border-left: var(--border-style);
          border-bottom: var(--border-style);
        }

        &::after {
          bottom: 0;
          right: 0;
          border-right: var(--border-style);
          border-bottom: var(--border-style);
        }
      }

    }
    
    h2 {
      height: .6rem;
      color: #fff;
      font-size: .25rem;
    }

    .chart {
      height: 3rem;
    }
  }

  // 中
  .center {
    margin: 0 .125rem .1875rem;

    // 数字模块
    .no {
      padding: .1875rem;
      background: rgba(101, 132, 226, 0.1);
      
      .no-hd {
        border: 1px solid rgba(25, 186, 139, 0.17);

        > ul {
          position: relative;
          display: flex;

          &::before,
          &::after {
            content: '';
            position: absolute;
            display: block;
            width: 30px;
            height: 10px;
          }

          &::before {
            top: 0;
            left: 0;
            border-left: var(--border-style);
            border-top: var(--border-style);
          }

          &::after {
            bottom: 0;
            right: 0;
            border-bottom: var(--border-style);
            border-right: var(--border-style);
          }

          
          li {
            position: relative;
            flex: 1;
            height: 1rem;
            line-height: 1rem;
            font-size: .875rem;
            color: #ffeb7b;
            text-align: center;
            font-family: "electronicFont";

            &:first-child::after {
              content: '';
              top: 25%;
              right: 0;
              position: absolute;
              width: 1px;
              height: 50%;
              background: rgba(255, 255, 255, 0.2);
            }
          }
        }
      }

      .no-bd {
        > ul {
          display: flex;

          li {
            flex: 1;
            text-align: center;
            height: .5rem;
            line-height: .5rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: .225rem;
            padding: .125rem 0 0;
          }
        }
      }
    }


    // 地图模块
    .map {
      position: relative;
      height: 10.125rem;

      // 飞行图模块
      .chart {
        position: absolute;
        top: 0;
        left: 0;
        height: 10.125rem;
        width: 100%;
        z-index: 5;
      }

      .map1 {
        width: 6.475rem;
        height: 6.475rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: url(../images/map.png);
        background-size: 100%, 100%;
        // 透明度
        opacity: 0.3;
      }


      .map2 {
        width: 8.0375rem;
        height: 8.0375rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: url(../images/lbx.png);
        background-size: 100%, 100%;
        // 使用旋转动画: 动画名称 时间 速度 是否无限循环 
        animation: rotate1 15s linear infinite;
        opacity: 0.6;
      }

      .map3 {
        width: 7.075rem;
        height: 7.075rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: url(../images/jt.png);
        background-size: 100%, 100%;
        // 使用旋转动画: 动画名称 时间 速度 是否无限循环 
        animation: rotate2 15s linear infinite;
        opacity: 0.6;
      }

      // 主要的地图模块
      .charts {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 10.125rem;
      }

      // 定义旋转动画1
      @keyframes rotate1 {
        form {
          transform: translate(-50%, -50%)
          rotate(0deg);
        }

        to {
          transform: translate(-50%, -50%)
          rotate(360deg);
        }
      }

      // 定义旋转动画2
      @keyframes rotate2 {
        form {
          transform: translate(-50%, -50%)
          rotate(0deg);
        }

        to {
          transform: translate(-50%, -50%)
          rotate(-360deg);
        }
      }
    }
  }
}

